package com.bsoft.exchange.service;


import java.util.Date;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.bsoft.exchange.dao.his.DeptAndDoctorMapper;
import com.bsoft.exchange.domain.DeptAndDoctor;

@Service
public class DeptAndDoctorService {
	
	@Autowired
	DeptAndDoctorMapper deptAndDoctormapper;
	Date now = new Date();
	public List<DeptAndDoctor> selectList(String hospitalCode,String query,int outpatientType){
//		System.out.println("ddddddddddddd");
		List<DeptAndDoctor> deptAndDoctor = deptAndDoctormapper.selectList(hospitalCode,query,outpatientType,now);
		return deptAndDoctor;
		
	}
	

}
